extends Control

const SECTION_NAME := "Background"

func _ready() -> void:
	RenderingServer.set_default_clear_color(ConfigManager.config.get_value(SECTION_NAME, "color", Color.hex(0xa042e3ff)))


func _gui_input(event: InputEvent) -> void:
	if event is InputEventMouseButton:
		if not event.pressed:
			%ToolsBar.visible = true
			%AutoHideTimer.start()
